﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AkazoNobel.Scheduler.StoreMasterData.DataAccess.Service;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AkazoNobel.Scheduler.StoreMasterData.Test
{
    [TestClass()]
    public class SmdStoreServiceTest
    {
        private TestContext testContextInstance;

        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        [TestMethod()]
        public void GetStoreTypeCodeTest()
        {
            var storeTypeCode = SmdStoreService.GetStoreTypeCode("IS (多乐士形象店)");
            Assert.IsTrue(storeTypeCode == "DIS");
        }
    }
}
